package com.hutao.manage.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MrInRecordExample {
    /**
     * MR_IN_RECORD
     */
    protected String orderByClause;

    /**
     * MR_IN_RECORD
     */
    protected boolean distinct;

    /**
     * MR_IN_RECORD
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @代码生成于 2021-01-06
     */
    public MrInRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @代码生成于 2021-01-06
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @代码生成于 2021-01-06
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @代码生成于 2021-01-06
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @代码生成于 2021-01-06
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @代码生成于 2021-01-06
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @代码生成于 2021-01-06
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @代码生成于 2021-01-06
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @代码生成于 2021-01-06
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @代码生成于 2021-01-06
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @代码生成于 2021-01-06
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * MR_IN_RECORD 2021-01-06
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIsNull() {
            addCriterion("MEDICAL_CLASS is null");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIsNotNull() {
            addCriterion("MEDICAL_CLASS is not null");
            return (Criteria) this;
        }

        public Criteria andMedicalClassEqualTo(String value) {
            addCriterion("MEDICAL_CLASS =", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotEqualTo(String value) {
            addCriterion("MEDICAL_CLASS <>", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassGreaterThan(String value) {
            addCriterion("MEDICAL_CLASS >", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassGreaterThanOrEqualTo(String value) {
            addCriterion("MEDICAL_CLASS >=", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLessThan(String value) {
            addCriterion("MEDICAL_CLASS <", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLessThanOrEqualTo(String value) {
            addCriterion("MEDICAL_CLASS <=", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLike(String value) {
            addCriterion("MEDICAL_CLASS like", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotLike(String value) {
            addCriterion("MEDICAL_CLASS not like", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIn(List<String> values) {
            addCriterion("MEDICAL_CLASS in", values, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotIn(List<String> values) {
            addCriterion("MEDICAL_CLASS not in", values, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassBetween(String value1, String value2) {
            addCriterion("MEDICAL_CLASS between", value1, value2, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotBetween(String value1, String value2) {
            addCriterion("MEDICAL_CLASS not between", value1, value2, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIsNull() {
            addCriterion("SERIAL_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIsNotNull() {
            addCriterion("SERIAL_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andSerialNumberEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER =", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER <>", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberGreaterThan(Long value) {
            addCriterion("SERIAL_NUMBER >", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER >=", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberLessThan(Long value) {
            addCriterion("SERIAL_NUMBER <", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberLessThanOrEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER <=", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIn(List<Long> values) {
            addCriterion("SERIAL_NUMBER in", values, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotIn(List<Long> values) {
            addCriterion("SERIAL_NUMBER not in", values, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberBetween(Long value1, Long value2) {
            addCriterion("SERIAL_NUMBER between", value1, value2, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotBetween(Long value1, Long value2) {
            addCriterion("SERIAL_NUMBER not between", value1, value2, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIsNull() {
            addCriterion("ONLY_ID is null");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIsNotNull() {
            addCriterion("ONLY_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOnlyIdEqualTo(String value) {
            addCriterion("ONLY_ID =", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotEqualTo(String value) {
            addCriterion("ONLY_ID <>", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdGreaterThan(String value) {
            addCriterion("ONLY_ID >", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdGreaterThanOrEqualTo(String value) {
            addCriterion("ONLY_ID >=", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLessThan(String value) {
            addCriterion("ONLY_ID <", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLessThanOrEqualTo(String value) {
            addCriterion("ONLY_ID <=", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLike(String value) {
            addCriterion("ONLY_ID like", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotLike(String value) {
            addCriterion("ONLY_ID not like", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIn(List<String> values) {
            addCriterion("ONLY_ID in", values, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotIn(List<String> values) {
            addCriterion("ONLY_ID not in", values, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdBetween(String value1, String value2) {
            addCriterion("ONLY_ID between", value1, value2, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotBetween(String value1, String value2) {
            addCriterion("ONLY_ID not between", value1, value2, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNull() {
            addCriterion("ORGANIZATION_ID is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNotNull() {
            addCriterion("ORGANIZATION_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdEqualTo(String value) {
            addCriterion("ORGANIZATION_ID =", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotEqualTo(String value) {
            addCriterion("ORGANIZATION_ID <>", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThan(String value) {
            addCriterion("ORGANIZATION_ID >", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION_ID >=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThan(String value) {
            addCriterion("ORGANIZATION_ID <", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION_ID <=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLike(String value) {
            addCriterion("ORGANIZATION_ID like", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotLike(String value) {
            addCriterion("ORGANIZATION_ID not like", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIn(List<String> values) {
            addCriterion("ORGANIZATION_ID in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotIn(List<String> values) {
            addCriterion("ORGANIZATION_ID not in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdBetween(String value1, String value2) {
            addCriterion("ORGANIZATION_ID between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotBetween(String value1, String value2) {
            addCriterion("ORGANIZATION_ID not between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNull() {
            addCriterion("ORGANIZATION is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNotNull() {
            addCriterion("ORGANIZATION is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationEqualTo(String value) {
            addCriterion("ORGANIZATION =", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotEqualTo(String value) {
            addCriterion("ORGANIZATION <>", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThan(String value) {
            addCriterion("ORGANIZATION >", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION >=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThan(String value) {
            addCriterion("ORGANIZATION <", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION <=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLike(String value) {
            addCriterion("ORGANIZATION like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotLike(String value) {
            addCriterion("ORGANIZATION not like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationIn(List<String> values) {
            addCriterion("ORGANIZATION in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotIn(List<String> values) {
            addCriterion("ORGANIZATION not in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationBetween(String value1, String value2) {
            addCriterion("ORGANIZATION between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotBetween(String value1, String value2) {
            addCriterion("ORGANIZATION not between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andBranchIdIsNull() {
            addCriterion("BRANCH_ID is null");
            return (Criteria) this;
        }

        public Criteria andBranchIdIsNotNull() {
            addCriterion("BRANCH_ID is not null");
            return (Criteria) this;
        }

        public Criteria andBranchIdEqualTo(String value) {
            addCriterion("BRANCH_ID =", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotEqualTo(String value) {
            addCriterion("BRANCH_ID <>", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdGreaterThan(String value) {
            addCriterion("BRANCH_ID >", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdGreaterThanOrEqualTo(String value) {
            addCriterion("BRANCH_ID >=", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLessThan(String value) {
            addCriterion("BRANCH_ID <", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLessThanOrEqualTo(String value) {
            addCriterion("BRANCH_ID <=", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLike(String value) {
            addCriterion("BRANCH_ID like", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotLike(String value) {
            addCriterion("BRANCH_ID not like", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdIn(List<String> values) {
            addCriterion("BRANCH_ID in", values, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotIn(List<String> values) {
            addCriterion("BRANCH_ID not in", values, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdBetween(String value1, String value2) {
            addCriterion("BRANCH_ID between", value1, value2, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotBetween(String value1, String value2) {
            addCriterion("BRANCH_ID not between", value1, value2, "branchId");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNull() {
            addCriterion("MR_ID is null");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNotNull() {
            addCriterion("MR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andMrIdEqualTo(String value) {
            addCriterion("MR_ID =", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotEqualTo(String value) {
            addCriterion("MR_ID <>", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThan(String value) {
            addCriterion("MR_ID >", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThanOrEqualTo(String value) {
            addCriterion("MR_ID >=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThan(String value) {
            addCriterion("MR_ID <", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThanOrEqualTo(String value) {
            addCriterion("MR_ID <=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLike(String value) {
            addCriterion("MR_ID like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotLike(String value) {
            addCriterion("MR_ID not like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdIn(List<String> values) {
            addCriterion("MR_ID in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotIn(List<String> values) {
            addCriterion("MR_ID not in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdBetween(String value1, String value2) {
            addCriterion("MR_ID between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotBetween(String value1, String value2) {
            addCriterion("MR_ID not between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("ID_CARD is null");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("ID_CARD is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("ID_CARD =", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("ID_CARD <>", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("ID_CARD >", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("ID_CARD >=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("ID_CARD <", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("ID_CARD <=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("ID_CARD like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("ID_CARD not like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardIn(List<String> values) {
            addCriterion("ID_CARD in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotIn(List<String> values) {
            addCriterion("ID_CARD not in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("ID_CARD between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("ID_CARD not between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andDepaIdIsNull() {
            addCriterion("DEPA_ID is null");
            return (Criteria) this;
        }

        public Criteria andDepaIdIsNotNull() {
            addCriterion("DEPA_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDepaIdEqualTo(String value) {
            addCriterion("DEPA_ID =", value, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdNotEqualTo(String value) {
            addCriterion("DEPA_ID <>", value, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdGreaterThan(String value) {
            addCriterion("DEPA_ID >", value, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdGreaterThanOrEqualTo(String value) {
            addCriterion("DEPA_ID >=", value, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdLessThan(String value) {
            addCriterion("DEPA_ID <", value, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdLessThanOrEqualTo(String value) {
            addCriterion("DEPA_ID <=", value, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdLike(String value) {
            addCriterion("DEPA_ID like", value, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdNotLike(String value) {
            addCriterion("DEPA_ID not like", value, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdIn(List<String> values) {
            addCriterion("DEPA_ID in", values, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdNotIn(List<String> values) {
            addCriterion("DEPA_ID not in", values, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdBetween(String value1, String value2) {
            addCriterion("DEPA_ID between", value1, value2, "depaId");
            return (Criteria) this;
        }

        public Criteria andDepaIdNotBetween(String value1, String value2) {
            addCriterion("DEPA_ID not between", value1, value2, "depaId");
            return (Criteria) this;
        }

        public Criteria andInTimeIsNull() {
            addCriterion("IN_TIME is null");
            return (Criteria) this;
        }

        public Criteria andInTimeIsNotNull() {
            addCriterion("IN_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andInTimeEqualTo(Date value) {
            addCriterion("IN_TIME =", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeNotEqualTo(Date value) {
            addCriterion("IN_TIME <>", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeGreaterThan(Date value) {
            addCriterion("IN_TIME >", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("IN_TIME >=", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeLessThan(Date value) {
            addCriterion("IN_TIME <", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeLessThanOrEqualTo(Date value) {
            addCriterion("IN_TIME <=", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeIn(List<Date> values) {
            addCriterion("IN_TIME in", values, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeNotIn(List<Date> values) {
            addCriterion("IN_TIME not in", values, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeBetween(Date value1, Date value2) {
            addCriterion("IN_TIME between", value1, value2, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeNotBetween(Date value1, Date value2) {
            addCriterion("IN_TIME not between", value1, value2, "inTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNull() {
            addCriterion("RECORD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNotNull() {
            addCriterion("RECORD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeEqualTo(Date value) {
            addCriterion("RECORD_TIME =", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotEqualTo(Date value) {
            addCriterion("RECORD_TIME <>", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThan(Date value) {
            addCriterion("RECORD_TIME >", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RECORD_TIME >=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThan(Date value) {
            addCriterion("RECORD_TIME <", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThanOrEqualTo(Date value) {
            addCriterion("RECORD_TIME <=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIn(List<Date> values) {
            addCriterion("RECORD_TIME in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotIn(List<Date> values) {
            addCriterion("RECORD_TIME not in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeBetween(Date value1, Date value2) {
            addCriterion("RECORD_TIME between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotBetween(Date value1, Date value2) {
            addCriterion("RECORD_TIME not between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRepresentorIsNull() {
            addCriterion("REPRESENTOR is null");
            return (Criteria) this;
        }

        public Criteria andRepresentorIsNotNull() {
            addCriterion("REPRESENTOR is not null");
            return (Criteria) this;
        }

        public Criteria andRepresentorEqualTo(String value) {
            addCriterion("REPRESENTOR =", value, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorNotEqualTo(String value) {
            addCriterion("REPRESENTOR <>", value, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorGreaterThan(String value) {
            addCriterion("REPRESENTOR >", value, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorGreaterThanOrEqualTo(String value) {
            addCriterion("REPRESENTOR >=", value, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorLessThan(String value) {
            addCriterion("REPRESENTOR <", value, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorLessThanOrEqualTo(String value) {
            addCriterion("REPRESENTOR <=", value, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorLike(String value) {
            addCriterion("REPRESENTOR like", value, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorNotLike(String value) {
            addCriterion("REPRESENTOR not like", value, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorIn(List<String> values) {
            addCriterion("REPRESENTOR in", values, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorNotIn(List<String> values) {
            addCriterion("REPRESENTOR not in", values, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorBetween(String value1, String value2) {
            addCriterion("REPRESENTOR between", value1, value2, "representor");
            return (Criteria) this;
        }

        public Criteria andRepresentorNotBetween(String value1, String value2) {
            addCriterion("REPRESENTOR not between", value1, value2, "representor");
            return (Criteria) this;
        }

        public Criteria andRelationshipIsNull() {
            addCriterion("RELATIONSHIP is null");
            return (Criteria) this;
        }

        public Criteria andRelationshipIsNotNull() {
            addCriterion("RELATIONSHIP is not null");
            return (Criteria) this;
        }

        public Criteria andRelationshipEqualTo(String value) {
            addCriterion("RELATIONSHIP =", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotEqualTo(String value) {
            addCriterion("RELATIONSHIP <>", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipGreaterThan(String value) {
            addCriterion("RELATIONSHIP >", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipGreaterThanOrEqualTo(String value) {
            addCriterion("RELATIONSHIP >=", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipLessThan(String value) {
            addCriterion("RELATIONSHIP <", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipLessThanOrEqualTo(String value) {
            addCriterion("RELATIONSHIP <=", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipLike(String value) {
            addCriterion("RELATIONSHIP like", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotLike(String value) {
            addCriterion("RELATIONSHIP not like", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipIn(List<String> values) {
            addCriterion("RELATIONSHIP in", values, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotIn(List<String> values) {
            addCriterion("RELATIONSHIP not in", values, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipBetween(String value1, String value2) {
            addCriterion("RELATIONSHIP between", value1, value2, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotBetween(String value1, String value2) {
            addCriterion("RELATIONSHIP not between", value1, value2, "relationship");
            return (Criteria) this;
        }

        public Criteria andTelephoneIsNull() {
            addCriterion("TELEPHONE is null");
            return (Criteria) this;
        }

        public Criteria andTelephoneIsNotNull() {
            addCriterion("TELEPHONE is not null");
            return (Criteria) this;
        }

        public Criteria andTelephoneEqualTo(String value) {
            addCriterion("TELEPHONE =", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotEqualTo(String value) {
            addCriterion("TELEPHONE <>", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThan(String value) {
            addCriterion("TELEPHONE >", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneGreaterThanOrEqualTo(String value) {
            addCriterion("TELEPHONE >=", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThan(String value) {
            addCriterion("TELEPHONE <", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLessThanOrEqualTo(String value) {
            addCriterion("TELEPHONE <=", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneLike(String value) {
            addCriterion("TELEPHONE like", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotLike(String value) {
            addCriterion("TELEPHONE not like", value, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneIn(List<String> values) {
            addCriterion("TELEPHONE in", values, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotIn(List<String> values) {
            addCriterion("TELEPHONE not in", values, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneBetween(String value1, String value2) {
            addCriterion("TELEPHONE between", value1, value2, "telephone");
            return (Criteria) this;
        }

        public Criteria andTelephoneNotBetween(String value1, String value2) {
            addCriterion("TELEPHONE not between", value1, value2, "telephone");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("ADDRESS =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("ADDRESS <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("ADDRESS >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("ADDRESS >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("ADDRESS <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("ADDRESS <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("ADDRESS like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("ADDRESS not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("ADDRESS in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("ADDRESS not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("ADDRESS between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("ADDRESS not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andReliabilityIsNull() {
            addCriterion("RELIABILITY is null");
            return (Criteria) this;
        }

        public Criteria andReliabilityIsNotNull() {
            addCriterion("RELIABILITY is not null");
            return (Criteria) this;
        }

        public Criteria andReliabilityEqualTo(String value) {
            addCriterion("RELIABILITY =", value, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityNotEqualTo(String value) {
            addCriterion("RELIABILITY <>", value, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityGreaterThan(String value) {
            addCriterion("RELIABILITY >", value, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityGreaterThanOrEqualTo(String value) {
            addCriterion("RELIABILITY >=", value, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityLessThan(String value) {
            addCriterion("RELIABILITY <", value, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityLessThanOrEqualTo(String value) {
            addCriterion("RELIABILITY <=", value, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityLike(String value) {
            addCriterion("RELIABILITY like", value, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityNotLike(String value) {
            addCriterion("RELIABILITY not like", value, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityIn(List<String> values) {
            addCriterion("RELIABILITY in", values, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityNotIn(List<String> values) {
            addCriterion("RELIABILITY not in", values, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityBetween(String value1, String value2) {
            addCriterion("RELIABILITY between", value1, value2, "reliability");
            return (Criteria) this;
        }

        public Criteria andReliabilityNotBetween(String value1, String value2) {
            addCriterion("RELIABILITY not between", value1, value2, "reliability");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsIsNull() {
            addCriterion("CHIEF_COMPLAINTS is null");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsIsNotNull() {
            addCriterion("CHIEF_COMPLAINTS is not null");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsEqualTo(String value) {
            addCriterion("CHIEF_COMPLAINTS =", value, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsNotEqualTo(String value) {
            addCriterion("CHIEF_COMPLAINTS <>", value, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsGreaterThan(String value) {
            addCriterion("CHIEF_COMPLAINTS >", value, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsGreaterThanOrEqualTo(String value) {
            addCriterion("CHIEF_COMPLAINTS >=", value, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsLessThan(String value) {
            addCriterion("CHIEF_COMPLAINTS <", value, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsLessThanOrEqualTo(String value) {
            addCriterion("CHIEF_COMPLAINTS <=", value, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsLike(String value) {
            addCriterion("CHIEF_COMPLAINTS like", value, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsNotLike(String value) {
            addCriterion("CHIEF_COMPLAINTS not like", value, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsIn(List<String> values) {
            addCriterion("CHIEF_COMPLAINTS in", values, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsNotIn(List<String> values) {
            addCriterion("CHIEF_COMPLAINTS not in", values, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsBetween(String value1, String value2) {
            addCriterion("CHIEF_COMPLAINTS between", value1, value2, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintsNotBetween(String value1, String value2) {
            addCriterion("CHIEF_COMPLAINTS not between", value1, value2, "chiefComplaints");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryIsNull() {
            addCriterion("ILLNESS_HISTORY is null");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryIsNotNull() {
            addCriterion("ILLNESS_HISTORY is not null");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryEqualTo(String value) {
            addCriterion("ILLNESS_HISTORY =", value, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryNotEqualTo(String value) {
            addCriterion("ILLNESS_HISTORY <>", value, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryGreaterThan(String value) {
            addCriterion("ILLNESS_HISTORY >", value, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryGreaterThanOrEqualTo(String value) {
            addCriterion("ILLNESS_HISTORY >=", value, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryLessThan(String value) {
            addCriterion("ILLNESS_HISTORY <", value, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryLessThanOrEqualTo(String value) {
            addCriterion("ILLNESS_HISTORY <=", value, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryLike(String value) {
            addCriterion("ILLNESS_HISTORY like", value, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryNotLike(String value) {
            addCriterion("ILLNESS_HISTORY not like", value, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryIn(List<String> values) {
            addCriterion("ILLNESS_HISTORY in", values, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryNotIn(List<String> values) {
            addCriterion("ILLNESS_HISTORY not in", values, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryBetween(String value1, String value2) {
            addCriterion("ILLNESS_HISTORY between", value1, value2, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andIllnessHistoryNotBetween(String value1, String value2) {
            addCriterion("ILLNESS_HISTORY not between", value1, value2, "illnessHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryIsNull() {
            addCriterion("PAST_HISTORY is null");
            return (Criteria) this;
        }

        public Criteria andPastHistoryIsNotNull() {
            addCriterion("PAST_HISTORY is not null");
            return (Criteria) this;
        }

        public Criteria andPastHistoryEqualTo(String value) {
            addCriterion("PAST_HISTORY =", value, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryNotEqualTo(String value) {
            addCriterion("PAST_HISTORY <>", value, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryGreaterThan(String value) {
            addCriterion("PAST_HISTORY >", value, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryGreaterThanOrEqualTo(String value) {
            addCriterion("PAST_HISTORY >=", value, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryLessThan(String value) {
            addCriterion("PAST_HISTORY <", value, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryLessThanOrEqualTo(String value) {
            addCriterion("PAST_HISTORY <=", value, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryLike(String value) {
            addCriterion("PAST_HISTORY like", value, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryNotLike(String value) {
            addCriterion("PAST_HISTORY not like", value, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryIn(List<String> values) {
            addCriterion("PAST_HISTORY in", values, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryNotIn(List<String> values) {
            addCriterion("PAST_HISTORY not in", values, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryBetween(String value1, String value2) {
            addCriterion("PAST_HISTORY between", value1, value2, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPastHistoryNotBetween(String value1, String value2) {
            addCriterion("PAST_HISTORY not between", value1, value2, "pastHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryIsNull() {
            addCriterion("PERSONAL_HISTORY is null");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryIsNotNull() {
            addCriterion("PERSONAL_HISTORY is not null");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryEqualTo(String value) {
            addCriterion("PERSONAL_HISTORY =", value, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryNotEqualTo(String value) {
            addCriterion("PERSONAL_HISTORY <>", value, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryGreaterThan(String value) {
            addCriterion("PERSONAL_HISTORY >", value, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryGreaterThanOrEqualTo(String value) {
            addCriterion("PERSONAL_HISTORY >=", value, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryLessThan(String value) {
            addCriterion("PERSONAL_HISTORY <", value, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryLessThanOrEqualTo(String value) {
            addCriterion("PERSONAL_HISTORY <=", value, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryLike(String value) {
            addCriterion("PERSONAL_HISTORY like", value, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryNotLike(String value) {
            addCriterion("PERSONAL_HISTORY not like", value, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryIn(List<String> values) {
            addCriterion("PERSONAL_HISTORY in", values, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryNotIn(List<String> values) {
            addCriterion("PERSONAL_HISTORY not in", values, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryBetween(String value1, String value2) {
            addCriterion("PERSONAL_HISTORY between", value1, value2, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andPersonalHistoryNotBetween(String value1, String value2) {
            addCriterion("PERSONAL_HISTORY not between", value1, value2, "personalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryIsNull() {
            addCriterion("MARITAL_HISTORY is null");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryIsNotNull() {
            addCriterion("MARITAL_HISTORY is not null");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryEqualTo(String value) {
            addCriterion("MARITAL_HISTORY =", value, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryNotEqualTo(String value) {
            addCriterion("MARITAL_HISTORY <>", value, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryGreaterThan(String value) {
            addCriterion("MARITAL_HISTORY >", value, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryGreaterThanOrEqualTo(String value) {
            addCriterion("MARITAL_HISTORY >=", value, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryLessThan(String value) {
            addCriterion("MARITAL_HISTORY <", value, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryLessThanOrEqualTo(String value) {
            addCriterion("MARITAL_HISTORY <=", value, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryLike(String value) {
            addCriterion("MARITAL_HISTORY like", value, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryNotLike(String value) {
            addCriterion("MARITAL_HISTORY not like", value, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryIn(List<String> values) {
            addCriterion("MARITAL_HISTORY in", values, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryNotIn(List<String> values) {
            addCriterion("MARITAL_HISTORY not in", values, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryBetween(String value1, String value2) {
            addCriterion("MARITAL_HISTORY between", value1, value2, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andMaritalHistoryNotBetween(String value1, String value2) {
            addCriterion("MARITAL_HISTORY not between", value1, value2, "maritalHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryIsNull() {
            addCriterion("FAMILY_HISTORY is null");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryIsNotNull() {
            addCriterion("FAMILY_HISTORY is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryEqualTo(String value) {
            addCriterion("FAMILY_HISTORY =", value, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryNotEqualTo(String value) {
            addCriterion("FAMILY_HISTORY <>", value, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryGreaterThan(String value) {
            addCriterion("FAMILY_HISTORY >", value, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryGreaterThanOrEqualTo(String value) {
            addCriterion("FAMILY_HISTORY >=", value, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryLessThan(String value) {
            addCriterion("FAMILY_HISTORY <", value, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryLessThanOrEqualTo(String value) {
            addCriterion("FAMILY_HISTORY <=", value, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryLike(String value) {
            addCriterion("FAMILY_HISTORY like", value, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryNotLike(String value) {
            addCriterion("FAMILY_HISTORY not like", value, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryIn(List<String> values) {
            addCriterion("FAMILY_HISTORY in", values, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryNotIn(List<String> values) {
            addCriterion("FAMILY_HISTORY not in", values, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBetween(String value1, String value2) {
            addCriterion("FAMILY_HISTORY between", value1, value2, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryNotBetween(String value1, String value2) {
            addCriterion("FAMILY_HISTORY not between", value1, value2, "familyHistory");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationIsNull() {
            addCriterion("MEDICAL_EXAMINATION is null");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationIsNotNull() {
            addCriterion("MEDICAL_EXAMINATION is not null");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationEqualTo(String value) {
            addCriterion("MEDICAL_EXAMINATION =", value, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationNotEqualTo(String value) {
            addCriterion("MEDICAL_EXAMINATION <>", value, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationGreaterThan(String value) {
            addCriterion("MEDICAL_EXAMINATION >", value, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationGreaterThanOrEqualTo(String value) {
            addCriterion("MEDICAL_EXAMINATION >=", value, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationLessThan(String value) {
            addCriterion("MEDICAL_EXAMINATION <", value, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationLessThanOrEqualTo(String value) {
            addCriterion("MEDICAL_EXAMINATION <=", value, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationLike(String value) {
            addCriterion("MEDICAL_EXAMINATION like", value, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationNotLike(String value) {
            addCriterion("MEDICAL_EXAMINATION not like", value, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationIn(List<String> values) {
            addCriterion("MEDICAL_EXAMINATION in", values, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationNotIn(List<String> values) {
            addCriterion("MEDICAL_EXAMINATION not in", values, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationBetween(String value1, String value2) {
            addCriterion("MEDICAL_EXAMINATION between", value1, value2, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andMedicalExaminationNotBetween(String value1, String value2) {
            addCriterion("MEDICAL_EXAMINATION not between", value1, value2, "medicalExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationIsNull() {
            addCriterion("ACCESSORY_EXAMINATION is null");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationIsNotNull() {
            addCriterion("ACCESSORY_EXAMINATION is not null");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationEqualTo(String value) {
            addCriterion("ACCESSORY_EXAMINATION =", value, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationNotEqualTo(String value) {
            addCriterion("ACCESSORY_EXAMINATION <>", value, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationGreaterThan(String value) {
            addCriterion("ACCESSORY_EXAMINATION >", value, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationGreaterThanOrEqualTo(String value) {
            addCriterion("ACCESSORY_EXAMINATION >=", value, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationLessThan(String value) {
            addCriterion("ACCESSORY_EXAMINATION <", value, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationLessThanOrEqualTo(String value) {
            addCriterion("ACCESSORY_EXAMINATION <=", value, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationLike(String value) {
            addCriterion("ACCESSORY_EXAMINATION like", value, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationNotLike(String value) {
            addCriterion("ACCESSORY_EXAMINATION not like", value, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationIn(List<String> values) {
            addCriterion("ACCESSORY_EXAMINATION in", values, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationNotIn(List<String> values) {
            addCriterion("ACCESSORY_EXAMINATION not in", values, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationBetween(String value1, String value2) {
            addCriterion("ACCESSORY_EXAMINATION between", value1, value2, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andAccessoryExaminationNotBetween(String value1, String value2) {
            addCriterion("ACCESSORY_EXAMINATION not between", value1, value2, "accessoryExamination");
            return (Criteria) this;
        }

        public Criteria andDataSourcesIsNull() {
            addCriterion("DATA_SOURCES is null");
            return (Criteria) this;
        }

        public Criteria andDataSourcesIsNotNull() {
            addCriterion("DATA_SOURCES is not null");
            return (Criteria) this;
        }

        public Criteria andDataSourcesEqualTo(String value) {
            addCriterion("DATA_SOURCES =", value, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesNotEqualTo(String value) {
            addCriterion("DATA_SOURCES <>", value, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesGreaterThan(String value) {
            addCriterion("DATA_SOURCES >", value, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesGreaterThanOrEqualTo(String value) {
            addCriterion("DATA_SOURCES >=", value, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesLessThan(String value) {
            addCriterion("DATA_SOURCES <", value, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesLessThanOrEqualTo(String value) {
            addCriterion("DATA_SOURCES <=", value, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesLike(String value) {
            addCriterion("DATA_SOURCES like", value, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesNotLike(String value) {
            addCriterion("DATA_SOURCES not like", value, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesIn(List<String> values) {
            addCriterion("DATA_SOURCES in", values, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesNotIn(List<String> values) {
            addCriterion("DATA_SOURCES not in", values, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesBetween(String value1, String value2) {
            addCriterion("DATA_SOURCES between", value1, value2, "dataSources");
            return (Criteria) this;
        }

        public Criteria andDataSourcesNotBetween(String value1, String value2) {
            addCriterion("DATA_SOURCES not between", value1, value2, "dataSources");
            return (Criteria) this;
        }

        public Criteria andRecordCardIsNull() {
            addCriterion("RECORD_CARD is null");
            return (Criteria) this;
        }

        public Criteria andRecordCardIsNotNull() {
            addCriterion("RECORD_CARD is not null");
            return (Criteria) this;
        }

        public Criteria andRecordCardEqualTo(String value) {
            addCriterion("RECORD_CARD =", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotEqualTo(String value) {
            addCriterion("RECORD_CARD <>", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardGreaterThan(String value) {
            addCriterion("RECORD_CARD >", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardGreaterThanOrEqualTo(String value) {
            addCriterion("RECORD_CARD >=", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardLessThan(String value) {
            addCriterion("RECORD_CARD <", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardLessThanOrEqualTo(String value) {
            addCriterion("RECORD_CARD <=", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardLike(String value) {
            addCriterion("RECORD_CARD like", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotLike(String value) {
            addCriterion("RECORD_CARD not like", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardIn(List<String> values) {
            addCriterion("RECORD_CARD in", values, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotIn(List<String> values) {
            addCriterion("RECORD_CARD not in", values, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardBetween(String value1, String value2) {
            addCriterion("RECORD_CARD between", value1, value2, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotBetween(String value1, String value2) {
            addCriterion("RECORD_CARD not between", value1, value2, "recordCard");
            return (Criteria) this;
        }

        public Criteria andCloudIdIsNull() {
            addCriterion("CLOUD_ID is null");
            return (Criteria) this;
        }

        public Criteria andCloudIdIsNotNull() {
            addCriterion("CLOUD_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCloudIdEqualTo(Long value) {
            addCriterion("CLOUD_ID =", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotEqualTo(Long value) {
            addCriterion("CLOUD_ID <>", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdGreaterThan(Long value) {
            addCriterion("CLOUD_ID >", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdGreaterThanOrEqualTo(Long value) {
            addCriterion("CLOUD_ID >=", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdLessThan(Long value) {
            addCriterion("CLOUD_ID <", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdLessThanOrEqualTo(Long value) {
            addCriterion("CLOUD_ID <=", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdIn(List<Long> values) {
            addCriterion("CLOUD_ID in", values, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotIn(List<Long> values) {
            addCriterion("CLOUD_ID not in", values, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdBetween(Long value1, Long value2) {
            addCriterion("CLOUD_ID between", value1, value2, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotBetween(Long value1, Long value2) {
            addCriterion("CLOUD_ID not between", value1, value2, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIsNull() {
            addCriterion("CLOUD_CHANGE is null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIsNotNull() {
            addCriterion("CLOUD_CHANGE is not null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeEqualTo(String value) {
            addCriterion("CLOUD_CHANGE =", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotEqualTo(String value) {
            addCriterion("CLOUD_CHANGE <>", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeGreaterThan(String value) {
            addCriterion("CLOUD_CHANGE >", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeGreaterThanOrEqualTo(String value) {
            addCriterion("CLOUD_CHANGE >=", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLessThan(String value) {
            addCriterion("CLOUD_CHANGE <", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLessThanOrEqualTo(String value) {
            addCriterion("CLOUD_CHANGE <=", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLike(String value) {
            addCriterion("CLOUD_CHANGE like", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotLike(String value) {
            addCriterion("CLOUD_CHANGE not like", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIn(List<String> values) {
            addCriterion("CLOUD_CHANGE in", values, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotIn(List<String> values) {
            addCriterion("CLOUD_CHANGE not in", values, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeBetween(String value1, String value2) {
            addCriterion("CLOUD_CHANGE between", value1, value2, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotBetween(String value1, String value2) {
            addCriterion("CLOUD_CHANGE not between", value1, value2, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIsNull() {
            addCriterion("CLOUD_SERIAL_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIsNotNull() {
            addCriterion("CLOUD_SERIAL_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER =", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <>", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberGreaterThan(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER >", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER >=", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberLessThan(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberLessThanOrEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <=", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIn(List<Long> values) {
            addCriterion("CLOUD_SERIAL_NUMBER in", values, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotIn(List<Long> values) {
            addCriterion("CLOUD_SERIAL_NUMBER not in", values, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberBetween(Long value1, Long value2) {
            addCriterion("CLOUD_SERIAL_NUMBER between", value1, value2, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotBetween(Long value1, Long value2) {
            addCriterion("CLOUD_SERIAL_NUMBER not between", value1, value2, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIsNull() {
            addCriterion("CLOUD_CHANGE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIsNotNull() {
            addCriterion("CLOUD_CHANGE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME =", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME <>", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeGreaterThan(Date value) {
            addCriterion("CLOUD_CHANGE_TIME >", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME >=", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeLessThan(Date value) {
            addCriterion("CLOUD_CHANGE_TIME <", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeLessThanOrEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME <=", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIn(List<Date> values) {
            addCriterion("CLOUD_CHANGE_TIME in", values, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotIn(List<Date> values) {
            addCriterion("CLOUD_CHANGE_TIME not in", values, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeBetween(Date value1, Date value2) {
            addCriterion("CLOUD_CHANGE_TIME between", value1, value2, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotBetween(Date value1, Date value2) {
            addCriterion("CLOUD_CHANGE_TIME not between", value1, value2, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andStopedflagIsNull() {
            addCriterion("STOPEDFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andStopedflagIsNotNull() {
            addCriterion("STOPEDFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andStopedflagEqualTo(String value) {
            addCriterion("STOPEDFLAG_ =", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotEqualTo(String value) {
            addCriterion("STOPEDFLAG_ <>", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagGreaterThan(String value) {
            addCriterion("STOPEDFLAG_ >", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagGreaterThanOrEqualTo(String value) {
            addCriterion("STOPEDFLAG_ >=", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLessThan(String value) {
            addCriterion("STOPEDFLAG_ <", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLessThanOrEqualTo(String value) {
            addCriterion("STOPEDFLAG_ <=", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLike(String value) {
            addCriterion("STOPEDFLAG_ like", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotLike(String value) {
            addCriterion("STOPEDFLAG_ not like", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagIn(List<String> values) {
            addCriterion("STOPEDFLAG_ in", values, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotIn(List<String> values) {
            addCriterion("STOPEDFLAG_ not in", values, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagBetween(String value1, String value2) {
            addCriterion("STOPEDFLAG_ between", value1, value2, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotBetween(String value1, String value2) {
            addCriterion("STOPEDFLAG_ not between", value1, value2, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdIsNull() {
            addCriterion("FOLLOWUP_DISEASE_ID is null");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdIsNotNull() {
            addCriterion("FOLLOWUP_DISEASE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdEqualTo(Long value) {
            addCriterion("FOLLOWUP_DISEASE_ID =", value, "followupDiseaseId");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdNotEqualTo(Long value) {
            addCriterion("FOLLOWUP_DISEASE_ID <>", value, "followupDiseaseId");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdGreaterThan(Long value) {
            addCriterion("FOLLOWUP_DISEASE_ID >", value, "followupDiseaseId");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("FOLLOWUP_DISEASE_ID >=", value, "followupDiseaseId");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdLessThan(Long value) {
            addCriterion("FOLLOWUP_DISEASE_ID <", value, "followupDiseaseId");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdLessThanOrEqualTo(Long value) {
            addCriterion("FOLLOWUP_DISEASE_ID <=", value, "followupDiseaseId");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdIn(List<Long> values) {
            addCriterion("FOLLOWUP_DISEASE_ID in", values, "followupDiseaseId");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdNotIn(List<Long> values) {
            addCriterion("FOLLOWUP_DISEASE_ID not in", values, "followupDiseaseId");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdBetween(Long value1, Long value2) {
            addCriterion("FOLLOWUP_DISEASE_ID between", value1, value2, "followupDiseaseId");
            return (Criteria) this;
        }

        public Criteria andFollowupDiseaseIdNotBetween(Long value1, Long value2) {
            addCriterion("FOLLOWUP_DISEASE_ID not between", value1, value2, "followupDiseaseId");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeIsNull() {
            addCriterion("DEVICE_CODE is null");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeIsNotNull() {
            addCriterion("DEVICE_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeEqualTo(String value) {
            addCriterion("DEVICE_CODE =", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotEqualTo(String value) {
            addCriterion("DEVICE_CODE <>", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeGreaterThan(String value) {
            addCriterion("DEVICE_CODE >", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeGreaterThanOrEqualTo(String value) {
            addCriterion("DEVICE_CODE >=", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeLessThan(String value) {
            addCriterion("DEVICE_CODE <", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeLessThanOrEqualTo(String value) {
            addCriterion("DEVICE_CODE <=", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeLike(String value) {
            addCriterion("DEVICE_CODE like", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotLike(String value) {
            addCriterion("DEVICE_CODE not like", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeIn(List<String> values) {
            addCriterion("DEVICE_CODE in", values, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotIn(List<String> values) {
            addCriterion("DEVICE_CODE not in", values, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeBetween(String value1, String value2) {
            addCriterion("DEVICE_CODE between", value1, value2, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotBetween(String value1, String value2) {
            addCriterion("DEVICE_CODE not between", value1, value2, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdIsNull() {
            addCriterion("FOLLOWUP_README_ID is null");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdIsNotNull() {
            addCriterion("FOLLOWUP_README_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdEqualTo(Long value) {
            addCriterion("FOLLOWUP_README_ID =", value, "followupReadmeId");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdNotEqualTo(Long value) {
            addCriterion("FOLLOWUP_README_ID <>", value, "followupReadmeId");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdGreaterThan(Long value) {
            addCriterion("FOLLOWUP_README_ID >", value, "followupReadmeId");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("FOLLOWUP_README_ID >=", value, "followupReadmeId");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdLessThan(Long value) {
            addCriterion("FOLLOWUP_README_ID <", value, "followupReadmeId");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdLessThanOrEqualTo(Long value) {
            addCriterion("FOLLOWUP_README_ID <=", value, "followupReadmeId");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdIn(List<Long> values) {
            addCriterion("FOLLOWUP_README_ID in", values, "followupReadmeId");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdNotIn(List<Long> values) {
            addCriterion("FOLLOWUP_README_ID not in", values, "followupReadmeId");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdBetween(Long value1, Long value2) {
            addCriterion("FOLLOWUP_README_ID between", value1, value2, "followupReadmeId");
            return (Criteria) this;
        }

        public Criteria andFollowupReadmeIdNotBetween(Long value1, Long value2) {
            addCriterion("FOLLOWUP_README_ID not between", value1, value2, "followupReadmeId");
            return (Criteria) this;
        }
    }

    /**
     * MR_IN_RECORD
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * MR_IN_RECORD 2021-01-06
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}